package com.zhongx.xingcd.zxxcd.mapper;

import com.zhongx.xingcd.zxxcd.bean.Trick;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;
@Mapper
@Component
public interface TrickInfoDao {
    /**
     * 获得行程单信息
     * @param params
     * @return
     */
    List<Trick> getTrickMes(Map params);


    /**
     * 插入行程单信息
     * @param params
     * @return
     */
     int intoTrickMes(Map params);



    /**
     * 查询行程单编号
     * @param ticket_number
     * @return
     */
    int getTrickMesNumByName(String ticket_number);

    /**
     * 批量插入行程单信息
     * @param list
     * @return
     */
    int addMuchTrickMes(List list);
}
